#!/bin/bash

hackdir=$(cd $(dirname $0); pwd)
workdir=$(cd $(dirname "$hackdir"); pwd)

source "$workdir"/venv/bin/activate

# source "$hackdir"/bashrc
export PYTHONPATH="$workdir"

python3 "$workdir"/AStock/ASApp/save_pe_percentage.py --force-re-save

python3 "$workdir"/AStock/ASApp/save_research_report.py --begin-date 20200921 --end-date 20201021

python3 "$workdir"/AStock/ASApp/save_valuation.py --begin-date 20200721 --end-date 20201021 --close-date 20201020